clampWidth

Deprecated

Use the builder pattern. Scheduled for removal 0.8.0

Same as setWidth but returns itself, and won't recompute if the layout is empty. This is often used up front to, as the name implies, clamp the allowable width of a new layout before adding elements.

Return

this layout

Author

fzzyhmstrs

Since

0.6.0, deprecated 0.7.2 for removal 0.8.0

Parameters

width

Int width in pixels